package com.sa.user.msmapper;

import com.sa.user.api.dto.RoleDTO;
import com.sa.user.dataobject.Role;
import org.mapstruct.Mapper;

/**
 * @author Architecture Station
 * @version 1.0
 */
@Mapper(componentModel = "spring")
public interface MsRoleMapper {
    RoleDTO toDTO(Role role);
    Role toDO(RoleDTO roleDTO);
}
